#!/usr/bin/python
#-*-<encoding=UTF-8>-*-

import statsout

def output(data,format="text"):
    output_function = getattr(statsout,"output_%s" %format,statsout.output_text)
    return output_function(data)
